import os,sys
from hashlib import md5
import random

if __name__=='__main__':
    files = {'tiniest' : 1,
             'tinier':10,
             'tiny':100,
             'smallest' : 1000,
             'smaller' : 10000,
             'small' : 100000,
             'medium' : 1000000,
             'regular' : 5000000,
             'big': 10000000,
             'huge' : 20000000}
    for name,num in files.iteritems():        
        f = open("%s.txt" % name, 'w')
        for i in xrange(num):
            print >>f, "%d %s %s" %(i, md5(str(i)).hexdigest(), hex(random.randint(1<<28, 1<<32)))
        f.close()